package com.corpgovernment.travelstandard.entity.db;

import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Table;


/**
 * 火车差标表
 **/
@Alias("mbTravelstandTrain")
@Data
@Table(name = "mb_travelstand_train")
public class MbTravelstandTrain extends BaseEntity {

    /**
     * 差标归属组织id
     **/
    @Column(name = "org_id")
    private String orgId;

    /**
     * 差标名称
     **/
    @Column(name = "name")
    private String name;

    /**
     * 坐席管控开关（E表示启用，N表示停用）
     **/
    @Column(name = "seat_switch")
    private String seatSwitch;

    /**
     * 超标管控方式（禁止预订F、选择原因C）
     **/
    @Column(name = "control_type")
    private String controlType;

    //@FieldDescription("火车票代取管控（E表示启用，N表示停用）")
    @Column(name = "stc_status")
    private String stcStatus;

    //@FieldDescription("火车票代取票管控方式（禁止预订F）")
    @Column(name = "stc_control_type")
    private String stcControlType;

    //@FieldDescription("不可代取票车次（E表示启用，N表示停用）")
    @Column(name = "substitute_ticket_train_number")
    private String substituteTicketTrainNumber;

    /**
     * 产线管控开关（E表示开启，N关闭）
     */
    @Column(name = "product_switch")
    private String productSwitch;
}
